Basic math, geometry, and robotics, and other routines used in projects from Kris Hauser's lab