Numpy Set Array Elements C