added code and unit tests for translations/rotation matrices