Optimization with DE working ok.
Still have to correct E/// on CPU and improve it on GPU.-