Gadolinium study for a water Cherenkov detector