Pattern Formation In Neural Circuits By The Interaction Of Travelling Waves With Spike-Timing Dependent Plasticity