multi-line functions

Add multi-line functions intelligently to the provenance of makeZStat.