projections function

Projection and Orthogonalisation