Brain surgery training from an avatar