simple heart rate generator return vector of values
heart rate counter work fine