alternative implementation of updatePredState
Merge pull request #114 from tnantais/develop

alternative implementation of updatePredState