A function to obtain ENMAX from POTCAR