Decorrelation weights and samples modifications

Some changes to make code work with latest version of dart, but main
change is in unpack_utils, code modified to handle signed values.