added missing impl for multi-dim Mat::ones, Mat::zeros (issue #3756)
Merge pull request #2883 from berak:b_3756_24