Update fitting.class.php