magneticField() is an extended replacement for magneticDeviation()