add output update
add update circuit functionality
add output function to determine state of input
add chained updating from toggle of input and fix bug in component anti loop line
fix outputs and make them return arays depending on number of outputs