Modeling of analog MOS circuits