Included argtypes for functions to avoid calling with wrong c types. Not sure about the change from CDLL to WinDLL, but the test suite runs...