peak finding by % of max