Removed matplotlib dependence from problem_1_set5.

It's all for Travis.