Add method for detecting peaks in list input
Re-add GRT const fixes!