Implemented SVD on query vector