fixed divide by zero in springs and attractors