Python 3 Linear Algebra