discrete 1D,2D,3D wavepacket initialises properly