Aeff parametric

Hi Sebastian,

Here is the major new revision. The template generation process should be working correctly now. I also made a number of other minor modifications, to standardize things, etc.

Best,
Tim