added changes from branch wip to master branch
this added gpu functionality to gVecDectorXY function