making some minor changes to the analysis script.  Reducing clutter and excess notation.