moved clip-to-prob from success.clj to math.clj