scale2.input.link(cr4);
ctSampler.input.link(cr4);
TypedIORelation cr5 = new TypedIORelation(ctsub, "CR5");
ctSampler.output.link(cr5);
subout.link(cr5);
ctsub.connect(scale1.output, add1.plus, "CR6");
ctsub.connect(scale2.output, add1.plus, "CR7");
ctsub.connect(scale4.output, add1.plus, "CR8");
TypedIORelation cr9 = new TypedIORelation(ctsub, "CR9");