Fix insufficient cache size in rare cases
Fix insufficient cache size in rare cases

Cache is now resized (as it should be) when maximum input is exactly equal
to size.  Renamed the parameters so as to make the distinction between
'max' and 'size' clear.

xrf/coulomb_ho2d,xrf/coulomb_ho2d,xrf/coulomb_ho2d