a collection of functions for monkeycruncher, mostly for data analysis