Python Matrix Vector Multiplication Linear