mlegp-internal function

Internal Functions for Gaussian Processes