An explicit solution for the elastic quarter-space problem in matrix formulation