Added a final renormalization step to GetHits() function since the current algorithm did not work for disconnected graphs.