Algorithms for the analysis of magnetic fields in 3-D conductor systems