Finished debugging lookupTable.py and moved some functions to revExpAnalysis.py