Closes #7

Changed definition of the Moore-Penrose pseudo inverse: used the
transposed one, which doesn’t have problems in our singular cases/