calculate slope between two elevations - Search