Added plotting for sentenceprob.py