Wrote var version of log_mix using OperandsAndPartials