Added invert options

Clock input and data output now invertable.