Charge multiply-and-accumulate operation