Adds writecsv function

- Adds a function to write cdv files from the contents of cell objects.
If a variable is a non-cell object, it redirects input to the csvwrite
function.