Updated hello_tp example

Added getPredictedState to TP. Updated hello_tp example to show how to figure out which columns are predicted by the TP.