Modelling Structural Change in Money Demand Using a Fourier-Series Approximation