changed algorithm for averaging within channels

code now takes censors, takes median (to reduce artifact), then
finally smoothes (for plotting purposes)
this should reduce the effect of uncaught artifact on figures