A Transfer Function Method for Finite Displacements of Two-Dimensional Beams