the sun and the earth were used as reference to stabilize attitude