anchor.diff:      if (st_debug) then
         write(lout,'(1(a,1pe22.15))')'CHEBY> CHEBY_KICK_FOX taking into account angle [deg]=',cheby_angle(icheby(ix))
       end if
  -    ! radial position of main beam relative to center of elens beam
  +    ! radial position of main beam relative to center of cheby beam
       ! rr = sqrt(xx**2+yy**2)
   !FOX  RR_SQ=(XI+YI)*(XI+YI)-(TWO*XI)*YI ;
       call dapek(RR_SQ,hh,RRA)
  
positive.code:   dyp=zero
    do nn=0,cheby_maxOrder(iTable)
      do jj=0,nn
        dxp=dxp+(cheby_coeffs(jj,nn-jj,iTable)*Tpx(jj))*Ty (nn-jj)
        dyp=dyp+(cheby_coeffs(jj,nn-jj,iTable)*Tx (jj))*Tpy(nn-jj)
      end do
    end do
    dxp=-(dxp*c1e3)/(cheby_refR(iTable)*c1m3) ! ref radius in [mm], kick in [mrad]
  
negative.code: ! ================================================================================================ !
  subroutine cheby_parseInputLine(inLine, iLine, iErr)
  
    use crcoall, only : lerr, lout
    use mod_settings
    use sixtrack_input
    use string_tools
  