implemented persistence length; TODO: add plotter for it