Fixed scale and added rotate and rectangle
Fixed scale added rotate and rectangle derived class