WIP: Calculate inverse transport matrices on the fly
Implemented the idea of saving the inverse determinant of the transport matrix and calculating the inverse of the matrix itself on the fly. Still, we should ideally change the transportmatrices to their own type (instead of generic 5x5 matrices) to reduce the Similarity maths.