Passing test, can probably reduce function size a bit.
Factored out a few lines.
Added documentation for block reading method.
Logging configuration, should have added this earlier on.
Will first try to build a prototype implementation of Tuohy's ANN to get a good feel for how to use it in this file, will then structure modules better.