Explanation of gradientgen.go