Calculation of right triangle's sides & angles