What is the formula you use to measure the entire length of a diagonal