Thin wrapper for matrix