Added support for taking in multiple queries, executing multiple scoring functions for each