A python library for matrix algebra