Added ability to pass eval into subnets

This is a cleaned up version of my previous PR with an added example to best explain how to use this new feature.