He had been Pierce Instructor of Mathematics at the University of California , Berkeley , a member of John von Neumann 's computer project staff at the Institute for Advanced Study , Princeton , and consultant to Shell , GE and NASA ; visiting professor of mathematics at Princeton , Columbia , City University of New York , and the University of Rome .