Add particles tally

Updated and refactored the Tally class to address some shortcomings, and added more tests.
This was changed to trailing underscores to be C++ compliant :)