Fixed errors in node functions and added population of slot before call to finalize_aggregates, as finalize_aggregates now evaluates expressions
Merge branch 'within_group' of https://github.com/davidfetter/postgresql_projects into within_group