calculation of the formation of the Sun