lapack magic