Theoretical and Practical Aspects of the Inverse Problem of Electrocardiography