convert ROOT arrays to numpy arrays