Improved rounding method for trigonometric functions
Changed on/off switch to linear layout
Improved immersive mode behaviour
Using BigDecimal in stats calculations to avoid catastrophic cancellation