added a hash function to the pose class.