Correct week3/matlan/solution3.m