moved actor coordinate system to 4x4 matrices, added to state classes