redo as Numeric#sum_square and Numeric#square_sum