added proportional_probability function

Added a proportional probability which assigns a probability that a list adding up to 1 or 100 is a percentage/proportion