Colorscale function from Python Cookbook
Added function to color mesh weights