Some edits
Changes to cytowriter. Takes additional paramaters