added Reduce to sum matrix