Trying to just work out the probabilities in one go.. even if it uses ridiuclous amnt of memory
Merge branch 'master' into persistedpol