converted attentionModel1D.m to just take opts or no arguments. added opts argument to nmRefresh.m. added some comments