Tested calculate_contact_potential for all-attractive. Next for repulsive