tracked down error on line 230 in Diffusion3D.cpp