Replaced functions for calculating number of guard-traces and length of guard-traces

These functions have been replaced by functions which calculate the total number of traces and the total or average length of all traces