Initialization insensitive LVQ algorithm based on cost-function adaptation