Direct magnetic problem solved by quaternion analog of 3-D Cauchy-Riemann system