Smartheart is a portable electrocardiogram machine for smartphones