Estimating multidimensional persistent homology through a finite sampling