Fix storage of missing wavepacket parameter
Fix missing setup of inner product in some cases