NT2_ROOT changed to NT2_ROOT_PATH because NT2 misbehaves when NT2_ROOT is defined
norm_inf updated to use new mnorminf function