Ibn al-Haytham's Universal Solution for Finding the Direction of the Qibla by Calculation