moved distance fitting to arduino, eliminated live plotting