Fixed small bug on Main regarding math operator hierarchy