BETA
anglefactor = ALPHA * BETA * OMEGA / (distfactor * distfactor + EPSILON);
distfactor = BETA + franf();