Update signature of Collect to take an Operation. 

In which Collect is updated to take Seq[Op] instead of Array[Op]; CollectArray is depreciated; and Mean and Variety are updated to take Seq[Raster] and no longer use CollectArray.