Added python matrix class with von mises