Initial Magnetometer implementation