added alt_analysis file/code

This version includes a data balancing function with training the
classifier