Implemetation of paper Forward-Backward Error Automatic Detection of Tracking Failures