updated aggregate* suite to use ... in signature instead of an explicit list.
create function to build gradient of h and associated unit tests.
cleaned up elaborate_example.R