Computational Homogenization of Confined Frictional Granular Matter