added MPS class for contraction of PEPS networks