Added terrain profile capability and example.