I'll just leave this here...
I'd like to write a Matlab script to accurately determine the altitude to start the burn so that you end up with a perfect burn every time. The biggest problem is that the surface elevation changes, and as far as I know, there's no way of setting a target on the surface and knowing it's elevation beforehand, right?