Philosophical Foundations of Physics