Issue #1937 - Matthews Correlation Coefficient

Fixed runtime warning from Matthews correlation coefficient. 

Following script previously produced warning, but does not now.
from sklearn.metrics import matthews_corrcoef
y_true = [-1, -1, -1, -1]
y_pred = [+1, -1, +1, +1]
print matthews_corrcoef(y_true, y_pred)