add method Mat::diag()
fix global install folder
improve Syntax for Mat creation

allowed syntax:
Mat.new([123,323],[233,223])
Mat.new([[123,323],[233,223]])
Mat.new(2,2,CV_32FC1)