Karhunen-Loeve Expansions for Gaussian Random Fields in Python