Calculating Compound Miters Chart