Removed Extraneous Variables in autonomous