Using lateral connections + motor signal as context for sensorimotor temporal memory

Fixes #87.