added lapack interface