added smooth branching peak detector

* make-up gain doesn't yet work as expected