Modified ocs.py to add functionality of row_generator.

row_generator is the main API connecting the test functions to the data.