An efficient algorithm for the computation of Galerkin coarse grid approximation for the incompressible Navier-Stokes equations