reorganizing interpolation code, added quartic interpolation and starting on arclength calculation