Slight optimization of arclength calculation
10m8td defined, comparison now based on str.lower()