update training PDF layout for grouping support; minor bugfixes for Training.compute_total_distance Training.compute_total_seconds; new vers. 4.00.165