Revised arithmetic to allow more than two arguments.