modify handling of ratios
docstring edit and bspline changes