change direction order
fix error when calculating RCS forces in rotation mode.