Fixed a nasty indexing bug with loading binary factors into CUDA across JNI