Code for Truncated Gaussian in Uncertain Environment