ADDED Ray generation on GPU