Simple spring physics for Pex library, working with floats, Vec2, and Vec3.