docu: fixed ncfactor.lib, added max,min