Design and development of a magnetometer calibration device