Matrix Multiplication in Python 3.4