Computing road slope using elevation data