BLAS oriented matrix implementation