refactor CalculateMistrackings
update object-oriented programming functions
simplified InterpolateMissingFrames(...)