Solved bug in Springembedding bounceOfWall and added functions to make the algorithm produce more
feasible solutions.