Add LocalGrad operator. Not used anywhere yet.