Updated Swig definition
Updated SPI Input Type