Made some changes to RandomEventTable to check for and handal some out of bound variavles.  Final version!