Crazy Voyager
I think that you will find that you are mixing up the relationship between IAS and TAS ( True Airspeed ) with the relationship between IAS and GS.
IAS when corrected for temperature and pressure gives you TAS.
TAS when corrected for wind vetors gives you GS.
Good luck with your application.