param_nMax function

Parameter Description: N_max