Optimisation based-on GUI using Least square method for autonomous threaded fastenings