fix error in returning query factor
Merge branch 'master' of https://github.com/themikesmith/mlcd-hw2.git