fixed bug in Cpm for Sphere-Facet interactions