Activated library for tminres, successful on LargeMatrix class