lapack wrapper