Fixed a bug in using the BLAS’s matrix-vector multiplication