Updated some documentation

Removed debug variable
Added documentation to firstagent and test packages.

Altered how the multithreaded GA returns values to prevent some locks being required (e.g. returns sub-sums and added them on the main thread instead of maintaining a total sum throughout).
Various small optimisations throughout code.
Updated population files (.ser, .saf, .act files).