Added EOS reverse lookup routines and corrected NS scheme