Fixed some bugs in the dark rate function, as pointed out by Trevor Stewart. The first bug was that the TotalPe was not being incremented if the PMT was not in the original hit array. The second bug involved an error in array index of the list array, also in the loop where the PMT had not been originally hit. I have changed the indices of the list array to now run between 1 and number of PMTs. I have also added in comments to make this function a bit easier to understand.
Must increment number_entries before filling the list
Merge pull request #27 from WCSim/bugfix/darkrate

Merge this fix by Erin.