Sartore, L., P. Fabbri, and C. Gaetan. "spMC: an R-package for 3D Lithological Reconstructions Based on Spatial Markov Chains." Computers and Geosciences 94 (2016).