Added preprocessor defs to stop some MSVC warnings.
Fixed bug with vertices being duplicated.
Fixed incorrect packing of bone weights.