Added height parameter to CUDA call