add: iiAssignCR: assign for rings (prepare for cring)
library cleanup: moved min, max to standard.lib, removed varNum (->rvar)