The structural role of distortion in hard rock and heavy metal