add matrix usage examples to package documentation