Updated makeWaveFormTree.py