math functions cdf + pdf, algorithm todo upd.
math functions cdf + pdf, algorithm todo upd.