Tidy up for readability, use portable type for large integers, and make chunk methods (apart from user-specified chunk size) private.

git-svn-id: https://chaste.cs.ox.ac.uk/svn/chaste/trunk@21011 b5f69653-2bf5-0310-8201-b0dafb8e1405