expanded the CV_Assert in pyrdown_ to check for empty mats