removed unnecessary code retrieving neighbor coordinates in infection probability check