transformation matrix now homogeneous to take multiple rotataions/translations into account