now example working for bending elements

I finally got the points from curve working and it seems to work nicely. A 'bit' slow though. I'll see what I can do...