implement Truncated Gaussian