Input Update

Update implementation to allow determination of input pins.
Partial output determination.