replaced speedometer driven gear with recommended 40 tooth and still not accurate...

Well, you just found out more bad info.