CMA_polypharmacy function

CMA constructor for polypharmacy.