various optimizations / add matrix methods (characteristic polynomial, inverse, etc..)