How medieval astronomers made trig tables