Added support for 1-dimensional and n-dimensional images. Added to VglImage methods to get image size in pixels, pixel size and to get pointer to image data.