Separated implemention for selection of trial standard variables

Post commit code review : Cyrus Venn Casada