made BinomialC.log_prob more stable
added PCost (pascal)