Potentials and Algorithms for Incorporating Polarizability in Computer Simulations