Tried to edit Michelle's code to fix looping problems relating to the sampling step.  Also began the process of implementing the updating processes.