Efficient post-concatenation of transformation matrices