improved run_analysis.R