Changed the implementation of Attitude