Fundamentals of Protein Structure Alignment