Rotating mask CUDA complete

Rotating mask complete and running.