Implementation of a soft-rigid collision detection algorithm in an open-source engine for surgical realistic simulation