Comments and formatting
Merge pull request #127 from chetan51/issue-125

Fixed crashing bug with getNeighborsND (wrapAround=true case)
Merge branch 'master' into issue-121