Added Rect to the library and Python Wrapper