Remove condition: module(xp,yp) > 0

I think it is useless