[Beta] Added function to compute optimal growth dir vec