Fixed crashing bug with getNeighborsND (wrapAround=true case)

Fixes https://github.com/numenta/nupic.core/issues/125

@scottpurdy 
You removed the addition of the value being modulo'd by, presumably because that should have no effect on the result of the modulo. Is that correct? Any idea why they were adding it before, like to avoid zero or something?