added neighbour initialisation for line elements