Sensor Based Compass