generalDataAnalysis is now a model

This function is a nice model for other people to write analysis
scripts. Make a copy of this and use it in your own directory.