implement lh_matrix_vector_mul