added call to lapack