lineChart path length calculated per path

Fixes #96 where totalLength was calculated on the last path and not each path individually
Looks like this isn't needed anymore