afmdata: An afmdata object. It should be a valid afmdata object upon which the Contact Point and the baseline correction must have been calculated first (using functions afmContactPoint() and afmBaselineCorrection())
fstar: Value such that fstar * sd is to be considered as zero Force, where sd is the standard deviation of Force at the basline. It takes fstar = 0 as default value, meaning that zero force is actually zero.
segment: The segment on which everything is calculated.
Returns
An afmdata class variable which will consist on the original input afmdata variable plus a new list named Slopes with the following fields: Z0Point: Point of zero force. Slope: Slope of the best fit line in the contact part of the Force-Distance curve.