added missing neighbour initialisation in one of the TemplateLine constructors