initial GDA code

the start of a GDA framework, covariance matrix is off somehow