An exotic function that distribute the distance between the first and the last points
of unclosed shapes, so that they become closed. May be useful (?) e.g. for t/rfourier methods
where reconstructed shapes may not be closed.
Usage
coo_force2close(coo)
Arguments
coo
a matrix of (x; y) coordinates or a list, or any Coo object.