Convert to being charge-based model

This model is capacitance based rather than charge based and so will exhibit severe charge conservation and accuracy problems. You should analytically integrate the capacitance with respect to voltage and build new tables that hold the charge as a function of voltage, and then use those.

See http://www.designers-guide.org/Modeling/varactors.pdf for a description of how to write a nonlinear capacitor model.