pbdb_intervals function

Get information about multiple intervals