Compensation for reluctance of axis motors causing surface ondulation