Update pointsinradius.c

Cleaned up code