Added inverse, pseudo-inverse, SVD for all types, and a few other algorithms