The generated array for diagrams, mistakes corrected.