Update of updateSGP to accomodate more update situations
Bug fixes from previous commit
Refinements to updateSGP commits
Merge pull request #529 from dbetebenner/master

Update of updateSGP