Refs #8958 Renamed variables and improved vector allocation.

The vector is now initialised and alocated in one go, which should eb much more efficent.

Many variables have been renamed, before now they were using the same names as they did in Max's code
Merge branch 'feature/8958_SaveAnsto_Algorithm' into develop