Working codes for linear regression using gradient descent and normal equations, for one variable and multi-variable