A GPU Software Library for Likelihood-Based Inference of Environmental Models with Large Datasets