Some modifications for the pulse sensor analysis.