Numerical Considerations for the Construction of Karhunen-Loève Expansions