'Neural-gas' network for vector quantization and its application to time-series prediction | Synapse