Ulugh Beg and his Contributions to Late-Islamic Astronomy