Localization and Stimulation Techniques for Implantable Medical Electronics