Commented algorithm issue for calculating performance of boroughs