fixed MASK in cvmat.h, and modified some tests
fixed MASK in cvmat.h, and modified some tests

bonanza-market/ruby-opencv,ser1zw/ruby-opencv,ryanfb/ruby-opencv,bonanza-market/ruby-opencv,ryanfb/ruby-opencv,ryanfb/ruby-opencv,bonanza-market/ruby-opencv