The Epistemological Foundations of the Sciences in Ibn Khaldun's Muqaddimah