Add peak finder algorithm