Cleared memory leaks and revised spacing around symbols.

Cleared leaks caused by using `PyArray_SimpleNewFromData`.