A continuous implementation of hierarchical temporal memory on the GPU