Add particles tally

Updated and refactored the Tally class to address some shortcomings, and added more tests.
thats the pdc_number function, I can rename that to id if you wish