Issues with the distance measurement aspect on nrf52840dk

Hi, I am using the nrf-dm sample with the nrf52840dk to measure the distance between two boards, but I am getting inaccuracte results. At a distance of about 60 centimeters apart all of the readings I am getting are 1 meter and above. The read me file mentioned something about calibrating the boards at 60 centimeters.

This is what it stated 

"The measured values of distance measurement include an offset.
The offset value may depend on the design of the radio circuit, the antenna used, or the PCB layout.
When using a library and a sample, you need to compensate the zero-distance offset and perform the calibration manually.
To determine the offset value, place the devices at a reference distance of 60 cm from each other and collect a batch of measurement data.
The difference between the average measurement value and the actual distance can be used as an estimate of the offset."
I am confused as to what this is suggesting. Am I supposed to write my own line of code that will subtract the average difference from the actual distance and the measured distance and apply that to all future outputs, or is there somewhere in the sample that I am supposed to add this in? Also is it possible I am doing something else wrong that is messing up the measurements, I have the boards on their side vertically, and they are parallel  to eachother.
Related