added multiple springs
added variable segment length
improved testing a bit