extremalIndex function

Extremal index estimation and automatic declustering