1. changed wdatasummary and plotwSigSum : to collect and plot med prepole and peak thetaenv; Also plot percent dwell beyond mean bar pos. Also changes to calculate mean_barpos for each session and
2. added Dprim for contact dependent behavior