Improve lapack4
Description
Improves the routine that computes the least square, which had a memory leak. The matrix can now be preserved if requested.
News snippet
Improves the routine that computes the least square, which had a memory leak.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.