Training a network of spiking neurons to perform coordinate transformations.