Rigid trans

Could you review this code. Thanks!
Same here