add mean/median/peak for transient

This probably should be done with an annotate since then we
can calculate them for all transients at once... but since
the transient table is going to be removed eventually I do
it this way, since it is _much_ easier to.