Calculate the hebbian adjacent atoms vector