added examples for matrices