Add documentation and improve logging
Return to original if/else logic
Don't import util
Merge pull request #15 from hampelm/logs

Add more detailed logging for exceptions
Merge in changes and improve reference to data.csv