Three Dimensional Covariance Functions: Theory.