Implemented Calculation for Recipes to accomplish resource goals