several updates to trans_AaYm.m to bring in line with trans_AaAmf algorithm improvements