Partially resolves failing IMU unit test. 

Twan added some specific rng seeds to show the remaining part of the bug.
Maybe not a case you want to consider, but this wouldn't work for a view_axis that isn't aligned with the x, y, or z-axis. What was wrong with the old implementation?