Source: https://le-castillon.etab.ac-caen.fr/IMG/pdf/Calcul_du_rayon_du_cercle_inscrit_a_un_triangle_rectangle.pdf