add lapack wrap and matrix class