Fix bug in yield stat error calculation: was not squared in the sum!
Add first implementation of prediction errors, rebinning not
implemented yet, thus not functional.