I did some math like averaging and stuff and I made a smoothness slider. Instead of having an equal chance of going up and down each time, the terrain will try three times to go up or down 1/3 of a block, averaging after 3 times, and rounding the height. I also capped the max terrain height.