Add macros for setting and getting ann params
Add missing one-parameter train setters and getters