Update query.m

remove some unnecessary dependencies on other libraries that I wrote