remove lapack dependency