Terrible, no good, changes for a meeting

All of the stuff added this time around is just so I have something to
present at a meeting. It is a clunky way of morphing this “analysis”
m-file into a “function” file.