PROBLEM AND SOLUTION
General Formula
Horizontal(in meters):
(abs((Latitude-La)* tan(HDG)-(Longitude-Lo))/sqrt(pow(tan(HDG),2)+1))* (((Longitude-Lo)/(Latitude-La)-tan(HDG))/abs((Longitude-Lo)/(Latitude-La)-tan(HDG)))
Vertical(in meters):
Altitude-0.0524* sqrt(pow(La-Latitude,2)+pow(Lo-Longitude,2))-Alt
La is the Latitude of the touchdown point,
Lo is the Longitude of the touchdown point,
HDG is the runway heading,
Alt is the altitude of the touchdown point,