Modified write.table() to include row.name=FALSE
Added bit of code to capture column names.
Updated documentation.