An Application of the S-Functional Calculus to Fractional Diffusion Processes