Fix vector multiplication.