Reduce array indexing & improve comments in nash()