combined translation and rotation matrices into single matrix