Kohonen map implemented in pure Erlang