Cleaned up some code in the data analysis file. Removed redundent function parameters.