coded get mean distance +/- standard deviation, not debugged/implemented