Main script restructure

Created HOPGeodesics_main2.m.  This is a function instead of a script and allows for playing around with the options and seeing the plots.  Intended for testing.