working through calculations and parsing csv
variable name error
working csv method for creating percentiles and writing to csv file