I noticed when I restored my iPhone4 with the backup data from my 3G that some of the settings were incompatible and causing network and proximity problems. A simple reset of all phone settings fixed it right up.
MATH AND ALCOHOL DON'T MIX! Please, don't drink and derive. Mathematicians Against Drunk Deriving