fixed memory bug when PyMem_Malloc work with PyArray_SimpleNewFromData (I don't know why they just don't work)