Update functions/calculateCOV.php