MATHEMATICAL FOUNDATIONS OF ECG MAP RECONSTRUCTION