generating links from top down instead of bottom up. averaging mean lines is no longer working. lines are slanting down when initialized
build
links generating from top to bottom. agerage mean lines working, connect end point working