Update 3dgrid_Downsampler.py

factor and guard against div0