Updated dipole script, added simple SVG renderer.