Augmented nested sampling for stochastic programs with recourse and endogenous uncertainty. (22nd January 2018)