improve lapack binding method