Implemented spring without length constraints algorithm