Updated version of ruflin/Elastica