Given a list of ingredients and a nutrient profile, computes the required amounts of each ingredient