hasNaN() {
        for (let i = 0; i < this._buffer.length; i++) {
            if (isNaN(this._buffer[i])) {
                return true;
            }
        }
        return false;
    }
Determines if the matrix contains a NaN.
@returns {!boolean}