/* Enter relations using the following symbols:
/* memb_v - relation driven resultant dimension in this specific direction
/* memb_i - relation driven increment in this specific direction
/* lead_v - leader value (dimension selected to determine direction)
/* idx1 - pattern instance index in the first direction
/* idx2 - pattern instance index in the second direction
/* DO NOT USE memb_v AND memb_i IN THE SAME RELATION
/*-------------------------------------------------------------------