DeviceOrientationControls.js updates

Minor optimizations to DeviceOrientationControls.js including: 

* making `_rotationMatrix` private.
* optimizing to avoid subroutine execution.
* optimizing to avoid  unnecessary garbage collection.
* generally improving code layout + presentation.