changed outputYData to outputWavefunction; made beginning changes to convert to DM code; starting to remove vibrational mode as well