multivariate linear regression python without sklearn