Added an example for matrices