removing depends on lapack