Machine deformation estimator as function of commanded position