Update and rename write_csv.m to writeCsv.m