Documentation for simplified symbolic formula
Properly handle Gaussian wavepackets with larger basis shapes