Fix error in repulsion potential