Fixed bug in adjust fractions where wrong grid indicies were being used.

Removed unwanted print statements.