Program for various "decision theory" mathematical operations