Incorporated extra nmatrix convenience functions