Document the lattice point enumeration
Document the lattice point enumeration

Also tweak the code to make it more obviously correct.

numenta/htmresearch-core,numenta/htmresearch-core,numenta/htmresearch-core,numenta/htmresearch-core