Changed calculation of Cv

Calculation of Cv was wrong !