A new smart phone app developed at Stanford is being used to study heart health.