A numerical framework for underground structures in layered ground under inclined P-SV waves using stiffness matrix and domain reduction methods