A random attempt at manually using a 2d gradient descent - derivative descent? to implement linear regression.