C Sharp and translation given rotation

Code contains two options for interfacing with DLSR and 1 piece of
matlab code to give xy translation post rotation.