Accurate modeling of y-junctions and couplers made by ion-exchange techniques