In this call to the MEX-function, nlhs = 1, nrhs = 2, plhs = 0, and prhs = Y and Z.