Added some product template functions for calculating reductions