Merge Neural Gas in Matlab