I\'m writing a method that counts Fermat Point for my homework. But i can not pass the tests. I already tried to do all calculations in simple double. But it is working the same