Numpy Size Of Matrix In R