Modified Mixtures.cpp