Moved GetGradient function to the end of the document
Moved GetGradient function to the end of the document

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