several improvements to readJainTable.m