Designed a rail to rail sub threshold comparator.

Was in the middle of testing JK flip flop, will need this for counter,
although it may be better to look into other counter architectures;
I used first one I found on google.

Need counter for double slope ADC; N bit counter makes N bit ADC.