FederatedApproachStage1 function

Fits the first stage model in the two-stage federated data analysis approach.