Digital Magnetic Inclinometer