Added counter in gpu implementation.
Merge branch 'master' of file:///afs/andrew.cmu.edu/usr/dmatlack/public/cuda-rsa
Refactored B... doesn't work, though.
Merge branch 'master' of file:///afs/andrew.cmu.edu/usr/dmatlack/public/cuda-rsa