Minor documentation fix.
Code cleanup and reorganization of code for minor efficiency improvements.
Finished implementation of test cases for ContractReduce tile operation.