Linear algebra module for python