adding more than 4 channels random Mats support

if `Scalar:all` is used Mats with 5+ channels cause errors