The Foundations of Newton's Philosophy of Nature