Ice Punch is terrible. It doesn't hit anything useful. Any Ground-type just kills you, and Diglett probably dies to Cross Chop lol. If you're going to use Elekid, use a mixed set; Elekid has better Special Attack (can invest less and get the same amount), plus Thunderbolt is stronger and doesn't come with recoil. You can probably use Volt Switch over Ice Punch for scouting and doing good overall damage.
^ second Tomahawk's set with the above changes ^