test error calculation
fixed gradient descent
calculate the coefficient of determination for linear regression