binner function

Bin occurrences in geologic intervals