Computer assisted training for robotic surgery