Added support for toggling between metric and imperial measurements - still need to implement intermittent and continuous switches.