Add example with matrices