Multivariate linear regression calculator based on gradient descent