Added basic functions for the prediction strength algortihm.