Digital to Analog Transformation and Reconstruction of ECG Data