set next good fft size to 2 for 0 to avoid infinite loop

RStan is hanging now due to the infinite loop here when the # of iteration after warmup is 0.  So this would fix the part of the problem of rstan though RStan should check if it is zero for print and plot before doing the calculation.