Small performance tweaks in the simulation shader. Length constraint iterations now work correctly, they were static set to 2