Added the ability to set the sensors axis directions