VLSI implementation of the capacitance matrix method