Edge coloring added to class mesh
coloring applied to kernel functions