NEST: more minor fixes and tests
NEST: diminishing smoothing and maximization work