Determining the distance to the moon