Extended Nijboer-Zernike (ENZ) based mask imaging: Efficient coupling of electromagnetic field solvers and the ENZ imaging algorithm