A Unified Haptic Framework For Rendering Stiff And Dynamic Virtual Environments