Image reduce sum

Added this branch back in NSLS2
We don't need this function, it is just array subtraction.