added some simple tests on input to recalcdist