Metaphysical Foundations of Natural Science