The magnetic calibration of arbitrarily shaped Hall sensors in the absence of magnetic fields