Add facility to output as a csv file
Merge pull request #581 from timschofield/develop

Add facility to output as a csv file