Wrapper & helper functions for terrain gen.

Ensure proper parameters & normalize generated values.