The Metaphysical Foundations of Modern Science