WIP: Rectpolygon with rounded corners

Numpy optimizations are yet to be done.
Should probably do some input checking here, i.e. cast to `numpy float32 array` and check that it's 1D 4 elements