A multi-threaded approach for deformable/rigid contacts with haptic feedback | Synapse