Works well till now.
farFrom and minDeviation parameters added module currently working fine but needs a bit testing!
This is the farthest that I didn't mess up the code! Am breaking the 1st rule of programming and adding features. (1st rule is Not to touch a code if it works) This is a good working maximum updated module! Please don't get deleted 😭