BuildImagePyramid was not building downstream images when the source image was updated.  Added a check to delete the downstream image if the source image was newer.

Delete masks that have dimensions which do not match the source image in assemble