Not to get technical but..... to my knowledge the air mas sensor is not used for the temperature of the air. It is used to determine how much air is coming into the engine. While it may also sense the air temperature its main function is to determine how much air is coming in. This information is sent to the engine computer and the computer then instructs the fuel injector on how much fuel (petrol) to inject. The computer also is looking at the engine temperature to determine if extra fuel (a richer fuel air mixture) is needed (ie choke from the old days) when the engine is cold. All engines need the same basic fuel air ratio called stoichiometric combustion. The ratio is 14.7 parts air and 1 part fuel.
In the old days and still today on some of the GM marine engines the air going through the carb creates a venturi affect to then suck the right amount of fuel through the jets, into the carb and on into the engine.
I know you all are saying

On fuel injected engines, ie the Lexus in the Epic boats, it works kind of like this. You advance the throttle, opening the throttle body right next to the intake manifold. The engine sucks more air in, the mass air senses this, the computer instructs the fuel injectors to inject more fuel which results in engine running at a faster RPM.
My question is how in the world did you trouble shoot the mass air sensor. I don't think I ever would have figured that one out. Awesome Job!!