ADP implementation of the shallow lakes problem in MATLAB