Updated physics.cpp and added in supporting files