Refactor functions

let me know if you guys have any recommendations or requests about options or formatting.

This works:
```python
for subj,df in behav_data.items():
    plot_accuracy(subj, df)
    plot_bias(subj, df)
```