P and S waves are both classified as ________