gray matrix issue resolved

and also added test for virtualCamera referencing issue.

    img = Image('lenna')
    b = img.getGrayscalMatrix()
    newimg = Image(b, colorSpace=ColorSpace.GRAY)
    newimg.show()
    newimg.toRGB() # warning because it is grayscale

Signed-off-by: jayrambhia <jayrambhia777@gmail.com>