Tests for linear regression cost function
Extrapolating linear regr. distance plus gradient descent tests