Added a second way to average dpt histogram (more traditional root) since I needed statistical errors on bins.