Added a new shrinkage prediction algorithm.

Shrinkage prediction stuff has also been moved to a separate file.