Implemented GPU-accelerated classification (untested)