4.7 magnitude earthquake shakes California