Added a bunch of figures, some R data structures, ran map reduce on segments