Fixed getavgcommute time function, used it in toy network.
AvgCommuteTime function bug fix!