added CUDA brute-force matching and other things.