Update run_analysis.R

Corrected a few errors in the Code. Now fine