Fixed warning about inline declaration after call
Added PyMODINIT_FUNC declaration
Minor cleanup