updated mix_by functions so density is updated
added test_multimaterial2 to verify correct density, modified test1