Added arguments to the fprintf call, in case of big covariance matrix.
Changed also the if test (now checks the columns of the regressors matrix)
This is my first commit!
Reshape X matrix after weights calculation for ridge regression