Precise T-wave endpoint detection using polynomial fitting and natural geometric approach algorithm. (February 2023)