Attempt to speed up the class spreadsheet. some improvement
in the performance. more work needs to be done still.