Representation of Random Processes Using the Finite Karhunen-Loève Expansion