Fast 3-D capacitance solver