A Cohesive-frictional Grain-boundary Technique for Microstructural Analysis of Polycrystalline Materials