Changed SPDE from recursive to iterative

changed SPDE function from recursive to iterative as it is called by some other functions like(rischDE ,paramrischDE etc)  which on a recursive call makes it difficult to compute output because of recursion limit getting exceeded