[Fix] Logic error in method getDistanceFrom

The line below was forgot:
(int) Math.pow(fB, 2);