Implementation of pedigree matrix approaches to adapting probability distributions to new circumstances