sum and multiplication for distributions