Fixed the CSV loading function.

It now correctly interprets the first row to start loading data from.