Fixed Matrix.prototype.contains()