A 6.4 magnitude earthquake shook parts of Southern California on Thursday, with the earthquake being felt in the Los Angeles area.