added logic to symmetrize SDP data