modernise: Generic function to upgrade a V2 WaveThresh object to V4
Description
Not really used in practice. The function IsEarly
can be used to tell if an object comes from an earlier version of
wavethresh. Note that the earlier version only has a wd.object
class object so there is only a method for that.