Implementing a framework of carbon and nitrogen feedback responses into a plant resource allocation model