EKGCapture working 100% globals fixed

globals ekg data fields corrected. ekgcapture works in test bench
work for 256 samples taken at even intervals