I make a source code as I wish. I am a physicist who want a special program for my works. Therefore, the program may not be optimized but it is still working.
MATLAB script for MSD