LQNASH: Added the nnash function.