fixed bug with kohonen neighborhood