WIP: Rectpolygon with rounded corners

Numpy optimizations are yet to be done.