adapted the LinAlg class according to peter
did some handicraft to put the matrix S together that will be decomposed later using SVD
theoretically finished implementation of finding optimal rotations
tried translation & rotation with cylinder and seems to be ok