Merge "fix an overflow in the orientation sensonr calculations" into jb-mr1-dev