Internal Functions for Gaussian Processes
These functions should not be called by the user
https://github.com/gdancik/mlegp/