@Override
  public boolean equals(Object object) {
    if (object instanceof Matrix) {
      Matrix matrix = (Matrix)object;
      return width == matrix.width && height == matrix.height && vector.equals(matrix.vector);
    }
    return false;
  }
@Override
  public boolean equals(Object object)