UPDATE: removed as.interger call from calcPoles_wC in order to compute x/y coordinates more accurately