Snap-drift neural network for self-organisation and sequence learning