P-waves vs S-waves earthquake detection