Changed repulsive potential to include fractional coordination number