Correlation coefficient now 0.0 (not NaN) with constant vector.

This fixes the (admittedlly, rare) case when a correlation's being computed and one vector is constant. The correct correlation is zero, not NaN.