magellan joined the pilot , gomez , for backstaff observations of the sun at noon each day , an intriguing procedure in which they measured the altitude of the sun above the horizon and then performed some calculations while consulting a book full of numbers .