revert fix an overflow in the orientation sensor calculations

Change-Id: I55d888249651cff8328dc02716b1e9dd1a3df567