[MRG] new array and matrix function

Convert ROOT arrays and matrices into numpy arrays and matrices.