Fixed an imprecision on the CCMetric 2D and 3D and updated the tests accordinly