add methods to MatUtility