add ParallelChi class and simple wavefunction distribtion. Doesn't work though.