moved functions to spp_analsis, called from analys_panel_picker_data. Said file now outputs results to hdf5 as well as html. to_database, takes the raw data, reformats and puts into relational mysql datasbase, as well as takes analysis results from hdf5 and also adds to database