Andrew obliterate and redo

Much cleaner redo, started from scratch to make sure all these urls are up to date. Still need to run the matlab scripts.
On a side note, I also concur with @etpinard on the preference for giving the `filename` argument before `fileopt`.