MATLAB script for DLO analysis of geotechnical problems