calculate probabilities should return values instead of a value in an array now