added distance to horizon formula in docs