Optimization: Compute inverse of lattice basis once
Optimization: Compute inverse of lattice basis once

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