Fix for bug in Package

Currently prevents the weight of a package from being handled properly if it is passed as a Mass object.