UG update, Changes to resistance tool

Re-did classification code to match TL code.