@john I have found your error: You cannot assume that the curvature of the earth is linear, it introduces too large an error here. If you use the proper Pythagorean approach to compute the horizontal distance necessary for 4.9 m difference in height, you get
about 8 km