%-- SCRIPT: MinMovJuntas ------------------------------------------------------------------------   
 AMP1_ang1 = ang1f-ang1i;  
 if ang1f > 0, AMP2_ang1 = ang1f-ang1i-2*pi;
 else 			AMP2_ang1 = ang1f-ang1i+2*pi; end
 if abs(AMP1_ang1) > abs(AMP2_ang1), ang1f = ang1i+AMP2_ang1; end
          
 AMP1_ang2 = ang2f-ang2i;  
 if ang2f > 0, AMP2_ang2 = ang2f-ang2i-2*pi;
 else 			AMP2_ang2 = ang2f-ang2i+2*pi; end
 if abs(AMP1_ang2) > abs(AMP2_ang2), ang2f = ang2i+AMP2_ang2; end
                 
