Magnitude 5.8 earthquake causes some damage in Australia