Text this: Analysing collision detection in a virtual environment for haptic applications in surgery