BLAS level 2 and 3 matrix-vector and matrix-matrix operations