Removed old test code,
added a couple warnings/exceptions,
closes #27,
added debug method to utilities,
added and corrected some documentation