Debugging and add Graph function

Can now make a graph of proportion of false near neighbours.