Spectral Solution Method for Distributed Delay Stochastic Differential Equations