added 3-channels support to cv::setIdentity