Fix matrix vector multiplication.