made the sscorr calculation in the 2d case more clear (might even have fixed a bug doing it?)