Removed unused variables in physics module.