FIX loaddat(): was skipping first line of data after column header was found. Changed for loop to enumerate over file, then set skiprows = current line number in file.