fixes ordering of members in lcp-intervals
fixes function names to be more clear
adds diagnostics