Add particles tally

Updated and refactored the Tally class to address some shortcomings, and added more tests.
Leading underscores are prohibited by the C/C++ spec and the SG.