A method for autonomous onboard determination of the position of a satellite