Text this: Algorithm Indicating Moment of P-Wave Arrival Based on Second-Moment Characteristic