This example tests 2D geometry fitting by optimisation using cubic Hermite elements.