handle offset in inverseCumulativeProbability
fix handling of offset that I broke. I suspect there might be more bugs RE the offset in the code dating before my changes.