Finds pedestals, subtract pedestal from peaks and write both to tree