Added precomp_v versions of tests and function for log_mix