Fixed Variable Definition and Removed power()