training binary Hopfield network to decode the grid cell code