HOPGeodesics_main.m  Added a plot option.

Now you can just run the main and you don't have to run the plot
function separately.
Minor bug fixes etc.