Ball distance calculator half-implemented. Buffer sizes for serial tweaked.