added SPI_MODE_0 and SPI_MODE_3 functionality
implemented changeBandwith function