ex11: fixed divergence index error, removed NN, launched all functions from CPU and synch in between
fixed <= checks and divergence border
merged