Smoothened sensor data and fixed orientation issue

used lowPass method found on stackoverflow to smoothen sensor data, and added orientation fix block. map should now update smoothly when using Compass