quanton: made magnetometer optional