Fixed bug in BitsNeededForValue.
Added == for Vec3 and Vec4.
More flesh code.