Matrix Representation Of Relations