Implemented Image2D class and updated documentation