BCM: correlation vectorization fixed

The vectorized version of the Pearson correlation example from BCA (Lee
& Wagenmakers, 2013, p.61) doesn’t work, so I replaced it with a for loop.