Electrostatic multipole representation of a polypeptide chain: An algorithm for simulation of polypeptide properties