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.
missing the `var`