Tests and bugfixes2 hm

Fixed #8, #34, #54, #57, #59, #65, fixes on SPI Calculation (#62) and #69