Rewritten interpolation code. Changed flight line representation.