Added transform methods (Translate, Rotate, Scale) for objects.  Fixed gen_texture function so final closing bracket is the responsibility of the calling format method.