style changes
cleaned up ccMult value, updated weight calculation
fixed conflicts with linewrap merge