Fixed truncated normal variance, and added tests