Magnetic fields produced by various current geometries