Tafelmacher, Augusto, Profesor de matemáticas del Instituto Pedagójico, Chile