Fixed compiler errors introduced with changes to Trace class
Fixed compiler errors introduced with changes to Trace class

Test does not pass yet.

chunshen1987/DistributionSampling,chunshen1987/DistributionSampling,chunshen1987/DistributionSampling,chunshen1987/DistributionSampling,chunshen1987/DistributionSampling,chunshen1987/DistributionSampling