Create curved lines on hills.

Adds logic to create curved lines on hills.