A low-cost mechanical device for minimally invasive surgery