Added capacitance thresholding and some figures of simulink experiment