Added file with data and functions to read data
Output written to file
Fixed bugs and performance issues.
Issue fixes