BCM: correlation vectorization fixed

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