code update for kohonen1d implementation and example add