Implement cost function, gradient descent for linear reg for multiple vars