added missing impl for multi-dim Mat::ones, Mat::zeros (issue #3756)