areainfo function

Function to calculate the area under a selection of information curves