Tidying param vectors used in AAGTR optimization, with modules and type definitions
This is intended to make the layout and usage of parameter vectors during Nelder-Mead optimization more explicit, and clearly separate their code from other operations in AAGTR modules.