Samaniego, Gilberto, CATIE, Costa Rica