Modeling of Antiphase Boundaries in L12Structures