Add global 'all_paths' cost function and looping over number of swaps.
Improve code for calculating and plotting brain optimality metrics.
Merge pull request #29 from rkp8000/master

Add global 'all_paths' cost function and looping over number of swaps.