templated swap function
Merge branch 'master' of github.com:hobgreenson/electrophysiology-stimulus