casacore::Matrix< casacore::Float > * makeMaskMatrix(const casacore::Int &nx, const casacore::Int &ny, casacore::Int &newNx, casacore::Int &newNy, casacore::RO_LatticeIterator< casacore::Float > &maskIter, casacore::Int &xbeg, casacore::Int &xend, casacore::Int &ybeg, casacore::Int ¥d)