Complete implementation of monte carlo simulation.  Enables the
scripts that convert the statistics blocks in the model files
into ngspice-compatible syntax, both for mismatch parameters
(inside the model definitions) and process variation (in .param
lines outside the model definitions).  Added new block name "mc"
for use with the ".lib" command to enable the models with
process variation instead of a corner model.  Use of ngspice
now requires that every testbench set ".param mc_mm_switch=0|1"
to disble or enable the parameter mismatch, since the mismatch
setting is independent of the corner model used.
diff --git a/sky130/Makefile.in b/sky130/Makefile.in
index 34354fa..2bded28 100644
--- a/sky130/Makefile.in
+++ b/sky130/Makefile.in
@@ -749,14 +749,21 @@
 		2>&1 | tee -a ${SKY130A}_make.log || true
 	# Custom:  Parse the (commented out) statistics blocks and generate
 	# ngspice-compatible monte carlo parameters for mismatch and process
-	# (currently under test)
-	# ./custom/scripts/mismatch_params.py \
-	#	2>&1 | tee -a ${SKY130A}_make.log || true
-	# ./custom/scripts/mismatch_params.py \
-	#	${STAGING_PATH}/${SKY130A}/libs.tech/ngspice \
-	#	2>&1 | tee -a ${SKY130A}_make.log || true
-	# ./custom/scripts/process_params.py \
-	#	2>&1 | tee -a ${SKY130A}_make.log || true
+	./custom/scripts/mismatch_params.py \
+		2>&1 | tee -a ${SKY130A}_make.log || true
+	./custom/scripts/mismatch_params.py \
+		${STAGING_PATH}/${SKY130A}/libs.tech/ngspice \
+		2>&1 | tee -a ${SKY130A}_make.log || true
+	./custom/scripts/process_params.py \
+		2>&1 | tee -a ${SKY130A}_make.log || true
+	# Custom:  Add "mc" section to sky130.lib.spice
+	head -n-1 ${STAGING_PATH}/${SKY130A}/libs.tech/ngspice/sky130.lib.spice \
+		| ${SED} -e '/^\.lib/a.param mc_pr_switch=0' \
+		> ${STAGING_PATH}/${SKY130A}/libs.tech/ngspice/sky130.lib.spice.head
+	cat ${STAGING_PATH}/${SKY130A}/libs.tech/ngspice/sky130.lib.spice.head \
+		custom/models/sky130.lib.spice.extra > \
+		${STAGING_PATH}/${SKY130A}/libs.tech/ngspice/sky130.lib.spice
+	rm ${STAGING_PATH}/${SKY130A}/libs.tech/ngspice/sky130.lib.spice.head
 
 	# Custom:  Add "spinit" file
 	cat ./custom/models/spinit >> \