the calculaton is now done on the arduino; Mihini will have to calculate the coef, interpreting the user's choices