Added a param to specify repulsion at the wall.