Grab bag of various data analysis code