moving all the analysis code to main script, deleted from MARK_analyses.R
cleaned up the figures.