Multiple Point Geostatistics: Optimal Template Selection and Implementation in Multi-Threaded Computational Environments