From Religion to Philosophy: A Study in the Origins of Western Speculation