sits_reduce function

Reduces a cube or samples from a summarization function