renamed to cpycsdp and rewritten using numpy and C pointers.