Scalable Gpu Algorithms For Similarity Query Processing And Clustering On Trajectory Data