Correlation coefficient now 0.0 (not NaN) with constant vector.
Merge pull request #201 from michaelochurch/correlation-fix-constant-case

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