Calculate Min, Max and Variance