changed right triangle calculator