Added 'invert' to the pins.
Added Min Max functions to the inputs. We are still testing.
Added Min and Max. Tested the outputs and they work :).