averageMeanLines no longer changes the slope of lines. refactored averageMeanLines. adding new meanLines calls averageMeanLines