fixing bug with CMAlgoPolyContain --David Caratelli