Development of an intelligent surgical training system for Thoracentesis