updated g2d api documentation; added g2d type converters; fixed g2d matrix inversion; implented g2d source object completely