Adding track point interpolation code