fixed a quick with -p parameter allowing value of 2 - printing out state information as well
one more small fix for predicting, nO was not defaulted to 2