An Adaptive Collision Detection and Resolution for Deformable Objects Using Spherical Implicit Surface