rename SpiError to SPIError for consitency (and PEP8)
general tidy up and format