Write function to analyze brain optimality for specific subsets of brain regions.

@wronk