5.8 earthquake rattles New Zealand residents