Non-polynomial Cubic Spline Method for the Solution of Second-order Linear Hyperbolic Equations