Matlab lesson on defensive programming

Translation of the Python lesson on defensive programming. Addresses issue #797 
(just as we did in the [opening lesson](01-intro.md)