def hypind(i, j):
    """ Returns a tuple identifier for a hyperplane of ith and jth observation,
    regardless of ordering.
    """
    if i > j:
        return (j, i)
    else:
        return (i, j)