Working condition.
Fixed a bug related to qxSlice range. It turned out that qxMax input to
the method must be increased by 20*beamSigma. When beam convolution was being
done, it was asking for values outside of the interpolation function. I
should really implement bound checks on all interpolation evaluation methods.
Especially, funsupport class is a mess. I also clean up funsupport class
so that it doesn't do the same calculations twice.