Added probabilistic cluster assignment option to competitive learning function. So far not sure it helps.