(ClassGenerator.GenQuantiles): Remove references to 'inf' and use new Range __init__ to pass floats directly rather than converting them to strings first. Fixes RTBug #1876.