A model of a flexible anguilliform swimmer driven by a central pattern generator with proprioceptive feedback