Calculate Alignment Transform

In the code it just composes the second transform with the inverse of the first one