Added computeColumns and getNeighborsND

Matt,

I would like to merge now because a lot has been added and I need this fallback. It says it can't automatically be merged? Can you help a bro out?

David
`.gradle` is in the `.gitignore`, so I'm not sure why this is showing up in your PR.