Added least squares solution from lapacke