Add a cookbook recipe for DipoleMagDir class