added Array detector
added `probs` function, which calculates all of the valid partition probabilities