Added location of first extrema