Microsoft excel ^_^
I have no idea of any programs but in all seriousness if you have a GPS plot with speeds/distance and you know what the wind direction was (so you can work out approx angles sailed) you can work out your optimum VMG's in about 2 minutes with Excel. Embrace the cosine