Test mutable matrix-vector multiplication