Beam Deflection with Discontinuity (Singularity) Functions