The MOSFET should either be a depletion-mode MOSFET or a JFET (which is usually depletion-mode), but EC only has enhancement-mode MOSFETs so I had to work around that by adding the 1V source. That constant voltage source is not necessary if using a depletion-mode device.