improve numpy array

many improvement leaded by tests. It is not "totaly" ready, I have to add many tests. I will do this later but other thinks are ok, you can review the code.