Matlab code for my adaptive fast growing neural gas project