threepdm done and test passes with H2O_RI_michel
initial port of 4pdm structures and some additional 3-index operators; not tested