Readded old verlet function, since it's needed for the old spring method to work properly.
Set up a switch between the spring and constraint methods.