Adding functions for debug reporting
Merge pull request #104 from matthewclower/master

Adding functions for debug reporting