Finite Element Method for Seismological Problems