Performance tuning (don't allocate memory for the result vector each
time the matrix multiplication happens)