Complete Linear regression- using gradient descent and Normal equations in python