Calculates the Kelly criterion (Kelly, J.L. (1956) <doi:10.1002/j.1538-7305.1956.tb03809.x>) for bets given quoted prices, model predictions and commissions. Additionally it contains helper functions to calculate the probabilities for wins and draws in multi-leg games.