Debug. Support for recognition blocks.
Fixed a bug. Was indexing incorrectly.
Documentation layout
Minor updates