Added Documentation and Fixed the Magnetic Declination Issue