fix errors in the tutorial "Mat - The Basic Image Container"

1. fix an error in sample code
2. change an external link to maintain consistency with the previous tutorial