Fixed double print of distance for trainng rows with exercises with only one row.
Should be fixed computeing of distance for training rows made by exercises with given distance