Add code for evaluation of EMF in 2d and 3d