San Martín Varela, Pablo, University of Edinburgh