I am a beginning woodworker and need help building a frame for a mirror. Is there a simple formula that I can follow to ensure my angles will fit properly? I cut each piece of the frame on a 45 degree angle. Each leg matches the opposite, but when all four pieces are put together they do not fit. What do I need to do?