`price` function does not directly depend on LC object any more.
Renamed function `sx` to `getprobsx`