copying over changes from experimental emerson build to support splice site
adding dual averaging