Improved graphing algorithm; improved learning critter