direction calc moved from wand_gui to IMU
get_diretion covered with test
minor fix