Problem with normalised probablities in prediction

Hi, 

I noticed the probabilities being output after rescale() was called do not sum up to one. I reimplemented the rescale function using a trick found in Alex Smola's blog that 'log adds' log probabilities, then I normalised the values and returned the results.

Hope this was the intended behaviour.