Numpy Array Manipulation Using Pointers In Cpp