DLVQ: dynamic model for learning vector quantization