This is in multitrack view
First highlight the wav you want to find the tempo of.
Then go to view-> display time format -> edit tempo. Then press extract. It should then tell you the tempo.
This is pretty accurate and you should be able to match the midi with it.
Also make sure that when you recorded the wav file that you did it in time and stayed at the same tempo otherwise it won't work.
Tukkis