Ninth commit

percolation_func.cpp: The diffusion function has also been added, next
MSD function implementation.