Modified constrained mean and variance for Pareto and Inverse Gamma