Added hack to accelerate model predict when running with niter=0.